package net.learn.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.learn.framework.common.page.PageResult;
import net.learn.framework.common.service.BaseService;
import net.learn.system.entity.SysPaperQuestionEntity;
import net.learn.system.query.SysPaperQuestionQuery;
import net.learn.system.vo.SysPaperQuestionVO;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-04-01
 */
public interface SysPaperQuestionService extends BaseService<SysPaperQuestionEntity> {
    Boolean addPaperQuestion(SysPaperQuestionVO vo);

    Boolean updatePaperQuestion(SysPaperQuestionVO vo);

    void delete(List<Long> idList);

    List<SysPaperQuestionVO> qryPaperQuestionList();

    PageResult<SysPaperQuestionVO> qryPaperQuestionListPage(SysPaperQuestionQuery qry);

}
